package com.zz.extend.override;

public class B extends A {
    @Override
    public void print1(){
        System.out.println("重写父类方法1");
    }

    @Override
    public void print2(){
        System.out.println("重写父类方法2");
    }
}
